import request from '@/utils/request'

// 查询出行信息列表
export function listLeaveinfo(query) {
  return request({
    url: '/leave/leaveinfo/list',
    method: 'get',
    params: query
  })
}

// 新增出行信息
export function addLeaveinfo(data) {
  return request({
    url: '/leave/leaveinfo',
    method: 'post',
    data: data
  })
}

